package com.example.syssoft.common.entities;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import java.util.Date;

@Getter
@Setter
@MappedSuperclass
public class LogicEntity extends AbstractDomainEntity{

    @Column(insertable=false)
    @Schema(description = "删除时间")
    protected Date deletedTime;

    @Schema(description = "删除状态")
    @Column(insertable = false,nullable = false,columnDefinition = "INT default 0")
    protected Integer isDeleted;



}
